package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * HealthPunchLog对象 health_punch_log
 * 
 * @author ruoyi
 * @date 2023-01-08
 */
public class HealthPunchLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 学生ID */
    @Excel(name = "学生ID")
    private String studentId;

    private String studentName;

    /** 打卡时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "打卡时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date punchTime;

    /** 打卡地点 */
    @Excel(name = "打卡地点")
    private String punchLocation;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private String beginTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String endTime;

    private String punched;

    private String academy;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setStudentId(String studentId) 
    {
        this.studentId = studentId;
    }

    public String getStudentId() 
    {
        return studentId;
    }
    public void setPunchTime(Date punchTime) 
    {
        this.punchTime = punchTime;
    }

    public Date getPunchTime() 
    {
        return punchTime;
    }
    public void setPunchLocation(String punchLocation) 
    {
        this.punchLocation = punchLocation;
    }

    public String getPunchLocation() 
    {
        return punchLocation;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getPunched() {
        return punched;
    }

    public void setPunched(String punched) {
        this.punched = punched;
    }

    public String getAcademy() {
        return academy;
    }

    public void setAcademy(String academy) {
        this.academy = academy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentId", getStudentId())
            .append("punchTime", getPunchTime())
            .append("punchLocation", getPunchLocation())
            .append("remark", getRemark())
            .toString();
    }
}
